package com.atguigu.blog.comment.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName comments
 */
@TableName(value ="comments")
@Data
public class Comment implements Serializable {
    @TableId
    private Integer commentId;

    private Integer articleId;

    private Integer userId;

    private String content;

    private Date createdAt;

    private static final long serialVersionUID = 1L;
}